import { createRouter, createWebHashHistory } from 'vue-router'
import IndexPage from "@/views/IndexPage.vue";
import VideoPageView from "@/views/VideoPageView.vue";
import ProcurementAuditsPage from "@/views/ProcurementAuditsPage.vue";
import RegionAuditsPage from "@/views/RegionAuditsPage.vue";
import RiskControlPage from "@/views/RiskControlPage.vue";
import TrackingNumberPage from "@/views/TrackingNumberPage.vue";
import LoginPageView from "@/views/LoginPageView.vue";
import ShootEndOfLifeVideos from "@/views/ShootEndOfLifeVideos.vue";
import LogisticsDefectsView from "@/views/LogisticsDefectsView.vue";
const routes = [
  {
    path: '/index',
    name: 'index',
    component: IndexPage
  },
  {
    path: '/video',
    name: 'video',
    component: VideoPageView
  },
  {
    path: '/procurement',
    name: 'procurement',
    component: ProcurementAuditsPage
  },
  {
    path: '/region',
    name: 'region',
    component: RegionAuditsPage
  },
  {
    path: '/risk',
    name: 'risk',
    component: RiskControlPage
  },
  {
    path: '/track',
    name: 'track',
    component: TrackingNumberPage
  },
  {
    path: '/login',
    name: 'login',
    component: LoginPageView
  },
  {
    path: '/shoot',
    name: 'shoot',
    component: ShootEndOfLifeVideos
  },
  {
    path: '/logistics',
    name: 'logistics',
    component: LogisticsDefectsView
  }
]

const router = createRouter({
  history: createWebHashHistory(process.env.BASE_URL),
  routes
})

export default router
